package Test1;


import java.util.Scanner;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 涛
 * Date: 2023-09-15
 * Time: 14:24
 */
//class Alphabet {
//    char ch;
//    public Alphabet(char ch) {
//        this.ch = ch;
//    }
//    public char swt(char ch) {
//        return ((int)this.ch+32);
//    }
//}



public class Demo1 {

    public static void main(String[] args) {
        char ch1 = '你';
        char ch2 = '我';
        char ch3 = '他';
        System.out.println("\""+ch1+"\""+"  "+(int)ch1);
        System.out.println("\""+ch2+"\"");
        System.out.println("\""+ch3+"\"");
    }

    public static void main2(String[] args) {
        Scanner sc = new Scanner(System.in);
        int a = sc.nextInt();
        System.out.println("二进制"+Integer.toBinaryString(a));
    }
//    public static char toUpper(char ch) {
//        int a = (int) ch;
//        int b = a - 32;
//        return (char)b;
//    }
    public static void main1(String[] args) {
        Scanner sca = new Scanner(System.in);
        System.out.println("请输入一个字母");
        char ch = sca.next().charAt(0);
        //char output = toUpper(ch);
        //System.out.println("输出值"+output);
    }

}






